# 用于输出整个数据的代码
def OutPutFunction(main_list):
    if len(main_list) == 0:
        print("暂无数据！")
    else:
        for second_list in main_list:
            for detail in second_list:
                print(f"{detail} ", end='')
            print()


# 用于输出单个信息的代码
def OutPutFunctionSmall(second_list):
    for detail in second_list:
        print(f"{detail} ", end='')
    print()


if __name__ == '__main__':
    test_list = [1, 2, 3]
    OutPutFunctionSmall(test_list)
